package com.alks.function.data.request.factoryquery;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class SpMtlDetailRequest extends PageParam {
    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "颜色")
    private String color;

    @ApiModelProperty(value = "材料颜色")
    private String mtlColor;

    @ApiModelProperty(value = "材料名")
    private String mtlName;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "交期始")
    private LocalDate deliveryStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "交期末")
    private LocalDate deliveryEndTime;

    @ApiModelProperty(value = "厂商")
    private String vendor;

    @ApiModelProperty(value = "裁数")
    private Integer cutNum;

    @ApiModelProperty(value = "有无欠数(Y/N)")
    private String shortStatus;
}
